CC := gcc
CXX := g++
CFLAGS := -ansi -g -Wall

BIN = test1
SRC = main.cpp ../proto/test1.pb.cc
INCLUDE = -I../include -I../include/zmq -I../proto
LIB = -L../lib -lprotobuf-lite -lpthread



all:$(BIN)

$(BIN):$(SRC)
	$(CXX) $(CFLAGS) $(SRC) $(INCLUDE) $(LIB) -o $(BIN) -static
	

